package com.ljh.onlinetest.service;

import com.github.pagehelper.PageInfo;
import com.ljh.onlinetest.domain.Message;
import com.ljh.onlinetest.domain.MessageUser;
import com.ljh.onlinetest.viewmodel.admin.message.MessageRequestPageVM;

import java.util.List;

/**
 * @author ljh
 * @ClassName MessageService.java
 * @createTime 2022年02月22日
 */
public interface MessageService {
    PageInfo<Message> page(MessageRequestPageVM model);

    List<MessageUser> selectByMessageIds(List<Integer> ids);

    void sendMessage(Message message, List<MessageUser> messageUsers);
}
